package controllers;

import models.Tkalef;
import play.mvc.Controller;
import play.mvc.With;

@With(Secure.class)
public class Tkalefs extends Controller {

	public static void create(String docNumber, String valNumber, String opNumber,String ayNumber,String date) {
		
		Tkalef tkalef = new Tkalef(docNumber, valNumber, opNumber, ayNumber);
		tkalef.save();
		flash.success("Doneeeeeeeee");
		
		Application.Add(date);

	}

}
